<? 
//global $title;
//define('PATH','../uploads/file/');
$title = "ระบบแจ้งปัญหาการใช้ระบบงาน";
$bf_title = "";
$footer = "&copy; Copyright  Co., Ltd.";
$link = mysql_connect("localhost","root","");
//$link = mysql_connect("localhost","crm_muti","crm_m@t1*");
//$link = mysql_connect("localhost","root","Des@gn");
$per_page = 10;
$host="http://localhost/crm_muti_new/";
//$host="http://localhost/crm_muti/";
//$host="http://crm.favouritedesign.com/";
//$host="http://www.favouritedesign.com/demo/crm_muti/";
$hd="Location:".$host;


$alert_del="ไม่สามรถลบข้อมูลได้ !!!";
$alert_edit="ไม่สามรถแก้ไขข้อมูลได้ !!!";//
$alert_add="ไม่สามรถเพิ่มข้อมูลได้ !!!";
$alert_view="ไม่สามรถดูข้อมูลได้ !!!";
$alert_export="ไม่สามารถพิมพ์ข้อมูลได้";
function db_connect()
{
$link = mysql_connect("localhost","root","");
//$link = mysql_connect("localhost","crm_muti","crm_m@t1*");
//$link = mysql_connect("localhost","root","Des@gn");
if(!$link){
	echo "error";
}
mysql_select_db("crm_muti",$link) or die(mysql_error());
//mysql_select_db("crm_muti_test",$link);
$charset = "SET NAMES 'utf8'";
mysql_query($charset);

}
?>

<? 
function db_close()
{
mysql_close();
}
?>

